import request from '@/utils/request'

// 查询招聘管理-招聘需求列表
export function getMenhuHead() {
  return request({
    url: '/hrmanagement/Menhu/Head',
    method: 'get',
  })
}

export function getPieData() {
  return request({
    url: '/hrmanagement/Menhu/pie',
    method: 'get',
  })
}
export function getBarData() {
  return request({
    url: '/hrmanagement/Menhu/bar',
    method: 'get',
  })
}

// 获取员工考勤数据
export const getAttendanceData = (params) => {
  return request({
    url: '/hrmanagement/Menhu/attendance',
    params
  })
}

